<?= $this->extend('layout') ?>
<?= $this->section('content') ?>


<div class ="flex2">
	<div class ="content">
			<div class="d-flex justify-content-center">
            <?= form_open_multipart('addGallery'); ?>
			<?= csrf_field() ?>
			
			<div class="form-group"> 
			<label for="title">Title Of Image </label>
			 <input type="input" name="title" id ="title" class="form-control"/><br />
			 </div>
    
            	    
	    
	    
				<div class="form-group"> 
			    <label for="image">Use browse button below to navigate to image</label>
			    <br><br>
			    <input type="file" name="galleryImage" size="20" id="gallery" required ="true"/>
			    </div>
	    
	    
	    
			    <div class="form-group"> 
			   <input type="submit" class ="btn-success" value="submit" />
			   </div>
                           
			   
			   <div class="form-group"> 
			 <h1 style ="color:red";>  <?php echo $info ;?></h1>
			   </div>
			   
			   
			   
		   <?php echo form_close();?>

	</div><!--end div class flex d-->
	
	
	</div><!-- content end-->
</div><!-- flex end-->
<?= $this->endSection() ?>
